Skip to content

Using Git in the Real World: update git workflow diagram - #31521

Merged
mao-sz merged 2 commits into
TheOdinProject:mainfrom
shivankursharma018:update-git-workflow-diagram
Nov 7, 2026
Merged

mao-sz merged 2 commits into
TheOdinProject:mainfrom
shivankursharma018:update-git-workflow-diagram

Conversation

@shivankursharma018

Copy link
Copy Markdown
Contributor

Because

The existing diagram does not accurately represent the behavior of git fetch upstream. Fetching from the upstream remote updates the local remote-tracking references but does not update the local main branch. Clarifying this distinction makes the diagram more accurate and helps learners better understand how Git fetch and merge operations work.

This PR

  • Updates the git command in the diagram from git fetch upstream/main to git fetch upstream
  • Changes the description of the local repository after fetching to indicate that the remote-tracking references have been updated

Issue

Closes #31493

Additional Information

Pull Request Requirements

  • I have thoroughly read and understand The Odin Project curriculum contributing guide
  • The title of this PR follows the location of change: brief description of change format, e.g. Intro to HTML and CSS lesson: Fix link text
  • The Because section summarizes the reason for this PR
  • The This PR section has a bullet point list describing the changes in this PR
  • If this PR addresses an open issue, it is linked in the Issue section
  • If any lesson files are included in this PR, they have been previewed with the Markdown preview tool to ensure it is formatted correctly
  • If any lesson files are included in this PR, they follow the Layout Style Guide

@github-actions github-actions Bot added the Content: Git Involves Git content label Nov 6, 2026
@mao-sz
mao-sz merged commit d15a2ca into TheOdinProject:main Nov 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content: Git Involves Git content

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using Git in the Real World: Fix wrong command in diagram

2 participants